import request from '@/utils/request'

// 获取帖子回复信息
export function getPostReply (id) {
  return request({
    url: '/getPostReply',
    method: 'get',
    params: {
      id
    }
  })
}

// 回复帖子
export function replyPost (data) {
  return request({
    url: '/addReply',
    method: 'post',
    data
  })
}

// 回复回复
export function replyReply (data) {
  return request({
    url: '/addReplyInner',
    method: 'post',
    data
  })
}
